package com.serkol.ams.mapper;

import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.toolkit.Constants;
import com.serkol.ams.entity.Menu;
import org.apache.ibatis.annotations.Param;

import java.util.List;
import java.util.Map;

/**
* @author pingan
* @description 针对表【menu】的数据库操作Mapper
* @createDate 2022-10-07 17:12:39
* @Entity com.serkol.ams.entity.Menu
*/
public interface MenuMapper extends BaseMapper<Menu> {
    List<Map<String, Object>> fetchMenuList(@Param(Constants.WRAPPER) QueryWrapper<Menu> queryWrapper);

    List<Map<String, Object>> fetchMenuTreeList(@Param(Constants.WRAPPER) QueryWrapper<Menu> queryWrapper1);
}




